From: Florian Müllner Date: Tue, 10 Sep 2019 14:20:34 +0000 (+0200) Subject: calendar-server: Temporarily ignore all deprecations in eds includes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~138 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=dcf7bae6c7b600364eb6ae9efb4e36895ef6875e;p=gnome-shell.git calendar-server: Temporarily ignore all deprecations in eds includes Evolution draws in libsoup, which exposes deprecated types in its API. While its headers have been fixed to guard the affected symbols, those fixes aren't in our CI images yet. Until we get a fixed version, just disable all deprecation warnings during the include in order to not trip over "foreign" bugs. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/709 --- diff --git a/src/calendar-server/calendar-sources.c b/src/calendar-server/calendar-sources.c index aa3fa64f9..ed76c015c 100644 --- a/src/calendar-server/calendar-sources.c +++ b/src/calendar-server/calendar-sources.c @@ -29,7 +29,9 @@ #include #define HANDLE_LIBICAL_MEMORY #define EDS_DISABLE_DEPRECATED +G_GNUC_BEGIN_IGNORE_DEPRECATIONS #include +G_GNUC_END_IGNORE_DEPRECATIONS #undef CALENDAR_ENABLE_DEBUG #include "calendar-debug.h" diff --git a/src/calendar-server/gnome-shell-calendar-server.c b/src/calendar-server/gnome-shell-calendar-server.c index 4eaaab4ac..0e074fbbc 100644 --- a/src/calendar-server/gnome-shell-calendar-server.c +++ b/src/calendar-server/gnome-shell-calendar-server.c @@ -35,7 +35,9 @@ #define HANDLE_LIBICAL_MEMORY #define EDS_DISABLE_DEPRECATED +G_GNUC_BEGIN_IGNORE_DEPRECATIONS #include +G_GNUC_END_IGNORE_DEPRECATIONS #include "calendar-sources.h"